package com.kh.samr.entity.jq_project;

import com.kh.samr.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 所属企业信息
 *
 * @author Harry
 * @date 2020/12/29
 */
@ApiModel(description = "所属企业信息")
@Table(name = "jq_organized_by")
@EqualsAndHashCode(callSuper = true)
@Entity(name = "jq_organized_by")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrganizedBy extends BaseEntity {
	
	private static final long serialVersionUID = 6140990937897928096L;

	/**
	 * 单位全名
	 */
	@ApiModelProperty(value = "单位全名", readOnly = true)
	@Column(length = 100, nullable = false)
	private String companyFullName;
	
	/**
	 * 企业类型
	 */
	@ApiModelProperty(value = "企业类型", readOnly = true)
	@Column(length = 16, nullable = false)
	private String enterpriseType;

	/**
	 * 注册地址
	 */
	@ApiModelProperty(value = "注册地址", readOnly = true)
	@Column(length = 150, nullable = false)
	private String registeredAddress;

	/**
	 * 坐落地址
	 */
	@ApiModelProperty(value = "坐落地址", readOnly = true)
	@Column(length = 150, nullable = false)
	private String locationAddress;

	/**
	 * 局级（区县）主管部门
	 */
	@ApiModelProperty(value = "局级（区县）主管部门", readOnly = true)
	@Column(length = 150, nullable = false)
	private String bureauCompetentDepartment;
	
	/**
	 * 单位性质
	 */
	@ApiModelProperty(value = "单位性质", readOnly = true)
	@Column(length = 100)
	private String unitOfNature;
	
	/**
	 * 邮政编码
	 */
	@ApiModelProperty(value = "邮政编码", readOnly = true)
	@Column(length = 100)
	private String postalCode;
}
